-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding --with
for CTE
#705
Conversation
@edublancas Please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments.
@edublancas @neelasha23
General thought about the error message:
this part: If using CTEs, you may pass the --with argument explicitly.
- What do you think if we add a link to our
--with
documentation - Explain in our
--with
docs why and when we should use--with
(maybe to show this exact case with the error and the solution?)
b29735a
to
f5540f2
Compare
Added these @yafimvo @edublancas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added my feedback in a notebook: ctes.ipynb.zip
I'm referring to the cell below the "this is now complaining"
Ah, you're right. there's no way around it and users will have to pass then the only missing thing is improving the error message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I guess what's left is the error message like @edublancas mentioned.
doc/user-guide/py-scripts.md
Outdated
@@ -83,7 +83,7 @@ The percent format is also supported by `PyCharm Professional`: | |||
|
|||
![pycharm](../static/pycharm-interactive.png) | |||
|
|||
[Click here](https://jupytext.readthedocs.io/en/latest/formats.html#the-percent-format) for more details on the percent format. | |||
[Click here](https://jupytext.readthedocs.io/en/latest/formats-scripts.html#the-percent-format) for more details on the percent format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I opened a new PR for this so we can fix our CI quickly. After we merge it, you can rebase.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@neelasha23
You can rebase
I'm not clear on this part. Are u suggesting to remove the below specific error message completely? This was added as part of this issue |
Lint exception Removed deprecation tests Removed generic exception condition removed duckdb exception duckdb exception reraise exception integration tests fix Integration tests Integration tests error message assert usageerror error msg Error added oracle integration tests docs replaced numbers table tests tests string formats fix tests display module for print changed to print test fix docs doc link plot docs plot docs refactor plots import moved lint error message added cte msg removed syntax error
Have modified the error message. However, I still see the old message in docs. In local build I see the new one: Do you also see the old one? @edublancas |
Describe your changes
Adding
--with
againIssue number
Closes #684
Checklist before requesting a review
pkgmt format
📚 Documentation preview 📚: https://jupysql--705.org.readthedocs.build/en/705/